package com.qianniu.napi.admin.entity;

import com.baomidou.mybatisplus.enums.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author chenxuebin
 * @since 2019-01-07
 */
@TableName("t_baoming")
public class Baoming extends Model<Baoming> {

    private static final long serialVersionUID = 1L;

	@TableId(value="id", type= IdType.AUTO)
	private Long id;
	private Long gid;
    /**
     * 联系姓名
     */
	private String name;
    /**
     * 联系电话
     */
	private String phone;
    /**
     * 联系地址
     */
	private String address;
	private String extval1;
	private String extval2;
	private String extval3;
	private String extval4;
	private String extval5;
    /**
     * 启用状态
     */
	private Integer state;
    /**
     * 用户图像
     */
	@TableField("avatar_pic")
	private String avatarPic;
	private Long uid;
	private Long mid;
	private Long mpid;
	private Date createtime;


	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public Long getGid() {
		return gid;
	}

	public void setGid(Long gid) {
		this.gid = gid;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getPhone() {
		return phone;
	}

	public void setPhone(String phone) {
		this.phone = phone;
	}

	public String getAddress() {
		return address;
	}

	public void setAddress(String address) {
		this.address = address;
	}

	public String getExtval1() {
		return extval1;
	}

	public void setExtval1(String extval1) {
		this.extval1 = extval1;
	}

	public String getExtval2() {
		return extval2;
	}

	public void setExtval2(String extval2) {
		this.extval2 = extval2;
	}

	public String getExtval3() {
		return extval3;
	}

	public void setExtval3(String extval3) {
		this.extval3 = extval3;
	}

	public String getExtval4() {
		return extval4;
	}

	public void setExtval4(String extval4) {
		this.extval4 = extval4;
	}

	public String getExtval5() {
		return extval5;
	}

	public void setExtval5(String extval5) {
		this.extval5 = extval5;
	}

	public Integer getState() {
		return state;
	}

	public void setState(Integer state) {
		this.state = state;
	}

	public String getAvatarPic() {
		return avatarPic;
	}

	public void setAvatarPic(String avatarPic) {
		this.avatarPic = avatarPic;
	}

	public Long getUid() {
		return uid;
	}

	public void setUid(Long uid) {
		this.uid = uid;
	}

	public Long getMid() {
		return mid;
	}

	public void setMid(Long mid) {
		this.mid = mid;
	}

	public Long getMpid() {
		return mpid;
	}

	public void setMpid(Long mpid) {
		this.mpid = mpid;
	}

	public Date getCreatetime() {
		return createtime;
	}

	public void setCreatetime(Date createtime) {
		this.createtime = createtime;
	}

	@Override
	protected Serializable pkVal() {
		return this.id;
	}

	@Override
	public String toString() {
		return "Baoming{" +
			"id=" + id +
			", gid=" + gid +
			", name=" + name +
			", phone=" + phone +
			", address=" + address +
			", extval1=" + extval1 +
			", extval2=" + extval2 +
			", extval3=" + extval3 +
			", extval4=" + extval4 +
			", extval5=" + extval5 +
			", state=" + state +
			", avatarPic=" + avatarPic +
			", uid=" + uid +
			", mid=" + mid +
			", mpid=" + mpid +
			", createtime=" + createtime +
			"}";
	}
}
